<?php
    
    include "db.php";
    $originating_address = $_GET["originating_address"];
    $message_body = $_GET["message_body"];

    $query = "insert into sms(originating_address, message_body) values ('".$originating_address."', '".$message_body."')";
    
    mysql_query(stripslashes($query), $connect);
    mysql_close($connect);
    
    echo "success";
    
?>